Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new lib "Discord Webhooks" | Добавлена библеотека для работы с Discord Webhooks #81

Closed
wants to merge 1 commit into from

Conversation

li0ard
Copy link

@li0ard li0ard commented Apr 13, 2020

Example use | Пример использования:

var myButton = require('@amperka/button')
  .connect(BTN1);
var discord = require('@amperka/discord-webhooks').init({token: "", id: ""});
myButton.on('press', function() {
  discord.sendMessage({content: "HELLO! I\'m Iskra.js", username: "Iskra.js", avatar_url: "https://static-eu.insales.ru/images/products/1/3053/113216493/iskra-js.2.1.jpg"});
});

@li0ard li0ard closed this by deleting the head repository Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant